package com.iceland.client.util;

import com.iceland.client.client.cmd.CmdClient;
import com.iceland.client.client.proxy.ProxyClient;
import com.iceland.common.rpc.RpcMessageManager;
import com.iceland.common.util.ChannelContext;
import io.netty.channel.Channel;

public class ClientChannelContext extends ChannelContext {
    CmdClient cmdClient;
    ProxyClient proxyClient;


    public ClientChannelContext(RpcMessageManager rpcMessageManager, Channel bindChannel, CmdClient cmdClient, ProxyClient proxyClient) {
        super(rpcMessageManager, bindChannel);
        this.cmdClient = cmdClient;
        this.proxyClient = proxyClient;
    }

    public CmdClient getCmdClient() {
        return cmdClient;
    }

    public void setCmdClient(CmdClient cmdClient) {
        this.cmdClient = cmdClient;
    }

    public ProxyClient getProxyClient() {
        return proxyClient;
    }

    public void setProxyClient(ProxyClient proxyClient) {
        this.proxyClient = proxyClient;
    }
}
